﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminTool/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="InsertNews.aspx.cs" Inherits="AdminTool_Default" %>

<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 100%;">
        <tr>
            <td>
                &nbsp;
                Tựa đề:</td>
            <td>
                <asp:TextBox ID="txtTile" runat="server" Width="415px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ErrorMessage="*" ControlToValidate="txtTile"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Ngày đăng:</td>
            <td>
                <asp:TextBox ID="txtDate" runat="server" Width="242px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ErrorMessage="*" ControlToValidate="txtDate"></asp:RequiredFieldValidator>
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                Người viết:</td>
            <td>
                <asp:TextBox ID="txtAuthor" runat="server" Width="241px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ErrorMessage="*" ControlToValidate="txtAuthor"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Ghi chú</td>
            <td>
                <asp:TextBox ID="txtSummary" runat="server" TextMode="MultiLine" Width="238px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="*" ControlToValidate="txtSummary"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                Nội dung</td>
        </tr>
        <tr>
            <td colspan="2">
                <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Height="400px">
                </FCKeditorV2:FCKeditor>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" />
            </td>
            <td>
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

